package io.sdl.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class CommentDTO {

    @Schema(title = "动态id")
    private Long diaryId;

    @Schema(title = "回复内容")
    private String content;

    @Schema(title = "评论id")
    private String commentId;

    @Schema(title = "父评论id")
    private Long parentId;

    @Schema(title = "token")
    @NotBlank(message="\"用户唯一标识符不能为空")
    private String token;

    @Schema(title = "角色标识符")
    private String userRole;


}
